import $http from './http'
// 获取个人信息
export function getPersonalInfo(data) {
    return $http({
        url:`/rest/docs/getCurrentUser`,
        method:"post",
        data
    })
}

// 轮询数据
export function getPollingData() {
    return $http({
        url:`/getAJAXOnlineServlet?V=${(Math.random()).toFixed(16)}`,
        method:'get',
    })
}